package com.example.userdemo.demos;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(value = "userDemo",configuration = MultipartSupportConfig.class)
public interface UserFeignService {

    @GetMapping("/updateUser")
    User updateUser(@RequestParam("name")String name);
}
